package com.wanmait.demo.pojo;

import java.io.Serializable;
import java.util.Date;

public class RepairProgress implements Serializable {
    private RepairService repairService;

    //zjj 我用来封装
    private Worker worker;




    private Integer id;
    /**
	* 维修表id
	*/
    private Integer repairServiceId;

    /**
	* 维修人员id
	*/
    private Integer workerId;

    /**
	* 描述
	*/
    private String description;

    /**
	* 维修状态
	*/
    private Boolean state;

    /**
	* 状态
	*/
    private Boolean enable;

    private Date inputTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRepairServiceId() {
        return repairServiceId;
    }

    public void setRepairServiceId(Integer repairServiceId) {
        this.repairServiceId = repairServiceId;
    }

    public Integer getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Integer workerId) {
        this.workerId = workerId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public RepairService getRepairService() {
        return repairService;
    }

    public void setRepairService(RepairService repairService) {
        this.repairService = repairService;
    }

    public Worker getWorker() {
        return worker;
    }

    public void setWorker(Worker worker) {
        this.worker = worker;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", repairServiceId=").append(repairServiceId);
        sb.append(", workerId=").append(workerId);
        sb.append(", description=").append(description);
        sb.append(", state=").append(state);
        sb.append(", enable=").append(enable);
        sb.append(", inputTime=").append(inputTime);
        sb.append("]");
        return sb.toString();
    }
}